function bci=bciTrainMIMO(bci,T)

% use MIMO filter
A = T.label'-2; %normalize event labels to zero mean
E=T.dat';
bci.W=A*E'*inv(E*E');